@charset "UTF-8";
* {
  margin: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  padding: 2rem;
  min-height: 100vh;
  background:linear-gradient(180deg, rgb(230, 233, 240) 0%, rgb(238, 241, 245) 100%);
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.create {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 12px;
  width: 100px;
  height: 44px;
  background-color: #0fb86e;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 2px 0 #0c995b;
}

.create i { font-size: 20px; }

.create:active { opacity: .85; }

.notes {
  margin-top: 20px;
  font-size: 0;
}

.note {
  display: inline-block;
  width: calc(25% - 12px);
  min-height: 120px;
  border-radius: 24px;
  margin-right: 12px;
  margin-bottom: 18px;
  vertical-align: top;
}

.note header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid;
  height: 48px;
}

.note h4 {
  font-size: 16px;
  font-weight: bold;
}

.close { font-size: 20px; }

.content {
  position: relative;
  padding: 12px 16px 20px;
}

.textarea {
  margin: 0;
  border: 0;
  width: 100%;
  min-height: 30px;
  outline: 0;
  font-size: 14px;
  background-color: transparent;
}

/* color scheme */
.note.pink {
  background-color: #fcacac;
  color: #8f6161;
  box-shadow: 3px 6px 12px -4px rgba(252, 172, 172, .88);
}

.note.pink header { border-color: rgba(143, 97, 97, .32); }

.note.green {
  background-color: #8FF7A1;
  color: #4F8A59;
  box-shadow: 3px 8px 18px -4px rgba(143, 247, 161, 0.88);
}

.note.green header { border-color: rgba(83, 143, 93, 0.32); }

.note.yellow {
  background-color: #FFD980;
  color: #8F7A48;
  box-shadow: 3px 8px 18px -4px rgba(255, 217, 128, 0.88);
}

.note.yellow header { border-color: rgba(143, 122, 72, 0.32); }

.note.blue {
  background-color: #3DCCFC;
  color: #23748F;
  box-shadow: 3px 8px 18px -4px rgba(61, 204, 252, 0.88);
}

.note.blue header { border-color: rgba(35, 116, 143, 0.32); }

.note.white {
  background-color: #fff;
  color: #888;
  box-shadow: 3px 8px 18px -4px rgba(210, 210, 210, 0.88);
}

.note.white header { border-color: rgba(210, 210, 210, 0.32); }

/*responsive-layout*/

@media screen and (max-width: 960px) {
  .note { width: calc(33% - 12px); }
}

@media screen and (max-width: 720px) {
  .note { width: calc(50% - 12px); }
}

@media screen and (max-width: 320px) {
  .note { width: 100%; }
}